/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.allscore.nacos.consumer.fegin;

import com.allscore.nacos.consumer.api.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 *
 * @author Administrator
 */
@FeignClient(name = "demo-nacos-provider", fallback = UserServiceFallback.class)
public interface UserFegin {

    @PostMapping("/getUser")
    User getUser();
}
